import request from '@/utils/request'
import apis from '@/api/index'

export function getEngineerState (parameter) {
  return request({
    url: apis.EngineerState,
    method: 'get',
    params: parameter
  })
}

export function getEngineerBusiness (parameter) {
  return request({
    url: apis.EngineerBusiness,
    method: 'get',
    params: parameter
  })
}

export function getFlowState (parameter) {
  return request({
    url: apis.FlowState,
    method: 'get',
    params: parameter
  })
}

export function getFlowBusiness (parameter) {
  return request({
    url: apis.FlowBusiness,
    method: 'get',
    params: parameter
  })
}

export function getPatentBusinessState (parameter) {
  return request({
    url: apis.PatentBusinessState,
    method: 'get',
    params: parameter
  })
}

export function getPatentBusiness (parameter) {
  return request({
    url: apis.PStateBusiness,
    method: 'get',
    params: parameter
  })
}
